<div style="font-size:11pt;"><b>{$sCategory}</b></div>
<br />
<table style="width:100%;" cellspacing="0" cellpadding="4">
	<tr>
		<td style="font-size:8pt;" class="border2">
		<table style="width:100%;" class="mainmenu5" cellspacing="0"
			cellpadding="4">
			<tr>
				<td style="font-size:9pt;"><img src="design/pic/spacer.gif"
					class="sqr" style="vertical-align:middle;" alt="" width="7"
					height="7" /> <span style="vertical-align:middle;"><b>{language text="browse"}</b></span></td>
			</tr>
		</table>
		<form method="post" action="{url link='public.groups.browse'}" style="margin:0px;">
		<input type="hidden" name="act[browse_group_show]" value="1" />
			<div style="font-size:9pt;padding:8px;">
		<table style="width:100%;">
			<tr>
				<td style="font-size:8pt;width:50%;" class="color"><b>{language text="groups"}:</b>
				<div style="padding:4px;">{filter data=$aFilter.type style="width:150px;" id="type"}</div>

				</td>
				<td style="font-size:8pt;width:50%;" class="color"><b>{language text="country"}:</b>
				<div style="padding:4px;">
				{if getParam('us_states')}
				{filter data=$aFilter.location style="width:150px;" onchange="checkUsMode(true);" id="fldCountrySel"}
				{else}
				{filter data=$aFilter.location style="width:150px;" id="fldCountrySel"}
				{/if}
				</div>

				</td>
			</tr>
			{if $bZipState}
			<tr>
				<td style="font-size:8pt;width:50%;" class="color"><b>{language text="state"}:</b>
				<div style="padding:4px;">{filter data=$aFilter.state style="width:150px;" id="fldStateSel"}</div>

				</td>
				<td style="font-size:8pt;width:50%;" class="color"><b>{language text="zip"}:</b>
				<div style="padding:4px;">{filter data=$aFilter.zip style="width:100px;" id="fldZip"}</div>

				</td>
			</tr>
			{/if}
			<tr>
				<td style="font-size:8pt;width:50%;" class="color"><b>{language text="sort_by"}:</b>
				<div style="padding:4px;">
				<select name="sortby">
				<option value="popular" {if $aForm.sortby == "popular"}selected="selected"{/if}>{language text="most_popular"}</option>
				<option value="name" {if $aForm.sortby == "name"}selected="selected"{/if}>{language text="name"}</option>
				<option value="time" {if $aForm.sortby == "time"}selected="selected"{/if}>{language text="time"}</option>
				</select>
				</div>
				</td>
				<td style="font-size:8pt;width:50%;" class="color"><b>{language text="city"}:</b>
					<div style="padding:4px;">{filter data=$aFilter.city style="size:30;" id="city"}</div>
				</td>
			</tr>
			<tr>
				<td style="font-size:8pt;width:50%;" class="color"><b>{language text="keywords"}:</b>
				<div style="padding:4px;">{filter data=$aFilter.keywords style="size:30;" id="title"}</div>

				</td>
				<td style="font-size:8pt;width:50%;text-align:right;" class="color">

				<input type="submit" value=" {language text="apply_settings"} " class="mainmenu6"
					onmouseover="this.className='mainmenu7';"
					onmouseout="this.className='mainmenu6';" style="cursor:pointer;" />

				</td>
			</tr>
		</table>
		</div>
		</form>
		</td>
	</tr>
</table>

{if $iCnt == 0}
	{if $bFiltered == true}
		<div style="padding:15px;font-size:10pt;">{language text="querys_were_found_for_your_search"}...</div>
	{else}
		<div style="padding:15px;font-size:10pt;">{language text="no_groups_have_been_created_yet_in"}</div>
	{/if}
{/if}

{if $iCnt > 0}
	<br />
		<div style="font-size:9pt;" class="color">
			{str_replace text="`listing_ifrom_ito_out_of_icnt`" iFrom="`$iFrom`" iTo="`$iTo`" iCnt="`$iCnt`" }
		</div>
	<br />

{include file="$sRootPath/_blocks/pager_nav_button.html"}


	<table style="width:100%;" class="mainmenu5" cellpadding="5" cellspacing="2">
	<tr>
		<td style="width:10%;font-size:9pt;">

		</td><td style="width:50%;font-size:9pt;">
			<img src="design/pic/spacer.gif" class="sqr" style="vertical-align:middle;" alt="" width="7" height="7" />
			<span style="vertical-align:middle;">
			<b>{language text="groups"}</b>
			</span>
		</td><td style="width:20%;font-size:8pt;text-align:center;">
			<img src="design/pic/spacer.gif" class="sqr" style="vertical-align:middle;" alt="" width="7" height="7" />
			<span style="vertical-align:middle;">
			<b>{language text="members"}</b>
			</span>
		</td><td style="width:20%;font-size:8pt;text-align:center;">
			<img src="design/pic/spacer.gif" class="sqr" style="vertical-align:middle;" alt="" width="7" height="7" />
			<span style="vertical-align:middle;">
			<b>{language text="created"}</b>
			</span>
		</td>
	</tr>
	</table>

	{foreach from=$aItems item=aItem name=aitems}
	<table style="width:100%;" cellpadding="5" cellspacing="2"  {if $smarty.foreach.aitems.iteration is div by 2}class="border13"{/if}>
	<tr>
		<td style="width:10%; font-size:9pt; vertical-align:top;" class="color">
		<a href="{url link='public.groups.view' id=$aItem.id foxseotitle=$aItem.title}">
		{img max_width="50" max_height="50" alt="" src="`$sImageUrl`thumb/`$aItem.galid`.jpg" src_def="`$sImageUrl``$aItem.galid`.jpg" src_def2="design/pic/noimage.jpg"  border="0"}
		</a>

		</td><td style="width:50%;font-size:9pt;" class="color">
        {include file="$sRootPath/_blocks/flag.html" sFlagLocation=$aItem.location}
		<a href="{url link='public.groups.view' id=$aItem.id foxseotitle=$aItem.title}">{$aItem.title|wordfilter|escape}</a>
			<span style="font-size:7pt;">( {if $aItem.hide_group eq 'Yes'}{language text="private"}{else}{language text="public"}{/if} {language text="group"} )</span>
			<div style="padding:5px;font-size:8pt;">{$aItem.headline|process_code|strip_tags}</div>

		</td><td style="width:20%;font-size:8pt;text-align:center;" class="color">

		{$aItem.cnt}

		</td><td style="width:20%;font-size:8pt;text-align:center;" class="color">

		{$aItem.time|date_format:$sMonthDateFormat}

		</td>
	</tr>
	</table>
	{/foreach}

{include file="$sRootPath/_blocks/pager_nav_button.html"}

{/if}
{if getParam('us_states')}<script type="text/javascript">checkUsMode(true);</script>{/if}